from django.conf.urls import url

from apps.users import views
from apps.users.views import LogoutView

urlpatterns = [
    url(r'^register/$', views.RegisterView.as_view(), name='register'),  # 注册
    url(r'^login/$', views.LoginView.as_view(), name='login'),  # 登录
    url(r'^logout/$', LogoutView.as_view(), name='logout'), # 退出登录
    url(r'^usercenter/$', views.UserCenterView.as_view(), name='usercenter'),  # 用户中心
    url(r'^security/$', views.AccountSecurity.as_view(), name='security'),
    url(r'^password/$', views.PasswordView.as_view(), name='password'),#修改密码
    url(r'^mobile/$', views.Mobile.as_view(), name='mobile'),#换绑 手机号
    url(r'^address/$', views.AddressView.as_view(), name='address'),# 收货地址
]
